#!/bin/bash

if [ $1 ]; then

	for i in $@
	do
		echo "launching $i"
		xterm -e `./startNode.sh -n "$i" ` &
	done

else
 echo "usage: "$0" <name1> <name2> ... <nameN>"
 echo "node are started with the name as unique parameter so:
			./startNode.sh -n <name>"
fi

exit 0
